<?php
require_once 'Include/init.php';

$oauth = new WeiboOauth();

$last_key = $oauth->getAccessToken($_GET['oauth_verifier']);

$_SESSION['last_key'] = $last_key;

header('Location: /');